<div class="language-switcher">
  <a
    class="nav-link p-2"
    href="#"
    role="button"
    data-bs-toggle="dropdown"
    aria-haspopup="true"
    aria-expanded="true"
  >
    <span class="flag-icon {{$ctrl.localizeSettings.langIcon}}"></span>
  </a>
  <div class="dropdown-menu dropdown-menu-end">
    <a
      class="dropdown-item"
      href=""
      ng-repeat="culture in $ctrl.localizeSettings.cultures"
      ng-class="{active: culture.specificulture === $ctrl.localizeSettings.lang}"
      ng-click="$ctrl.changeLang(culture.specificulture, culture.icon);"
    >
      <span class="flag-icon {{culture.icon}}"></span>
      <span ng-bind="culture.description"></span>
    </a>
  </div>
</div>
